package com.sleepfish.common.activiti;


import com.sleepfish.common.utils.PageParam;

/**

 *
 * @author xiaochao
 */
public class PageUtils {

    public static int getStart(PageParam pageParam) {
        return (pageParam.getPageNo() - 1) * pageParam.getPageSize();
    }

}
